<template>
	<view class="container" v-if="isLoad">
		<image class="top-bg" style="height: 100%; width: 100%;" src="/static/main/app_bg.png"></image>
		<view class="flex-x-center flex-y-center">
			<image class="code" src="/static/main/app_code.png"></image>
		</view>
	</view>
</template>

<script>
	import {
		mapState,
		mapActions,
		mapMutations
	} from "vuex"
	import parser from "@/components/jyf-Parser/index"
	export default {
		components: {
			parser
		},
		data() {
			return {
				options: {},
				isLoad: true,
				detail: {},
			}
		},
		onBackPress(options) {
		  uni.redirectTo({
		  	url:'/pages/mine'
		  })
		} ,
		computed: mapState({
			primaryColor: state => state.config.configInfo.primaryColor,
			subColor: state => state.config.configInfo.subColor,
		}),
		onLoad(options) {
			this.$util.setNavigationBarColor({
				bg: '#78dcff'
			})
		},
		methods: {
			initRefresh() {
				this.initIndex(true)
			},
		}
	}
</script>

<style lang="scss">
	.top-bg{
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0rpx;
		left: 0;
		z-index: -1;
	}
	
	.code{
	    width: 400rpx;
		height: 400rpx;
		margin-top: 200rpx;
		display: flex;
		flex-direction: row;
		justify-content: center;
	}
</style>
